home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-29 | 892 b | 46 lines |
- ##
- ## Full Screen Image Rotation -- Using DJGPP with GO32
- ##
- ## Runs in 32 bit protected mode. A 386 or better is required to run this
- ## program.
- ##
- ## Scott Deming
- ## sad@umcc.umich.edu
- ##
- ##############################################################################
-
- CC=gcc
- CFLAGS=-m486 -Wall -Winline $(OPTFLAGS)
- OPTFLAGS=-O2 -fomit-frame-pointer -funroll-all-loops
-
- LIB=-lm -lpc -lpc32
- OBJ=fullrot.o gfxmisc.o
-
- BIN=fullrot
- EXE=fullrot.exe
-
-
-
- $(BIN): $(OBJ)
- $(CC) $(CFLAGS) $(OBJ) -o $(BIN) $(LIB)
- coff2exe $(BIN)
-
- backup:
- pkzip backup.zip *.c *.h makefile test.pcx sintab.dat
-
- distrib:
- pkzip fullrot.zip *.c *.h makefile test.pcx sintab.dat go32.exe emu387 \
- fullrot.exe readme.1st
-
- clean:
- del *.o
- del $(BIN)
- del $(EXE)
-
-
- fullrot.o:
- $(CC) -c $(CFLAGS) fullrot.c -o fullrot.o
-
- gfxmisc.o:
- $(CC) -c $(CFLAGS) gfxmisc.c -o gfxmisc.o
-